from django.contrib.gis.gdal.base import GDALBase as GDALBase
from typing import Any

class DataSource(GDALBase):
    destructor: Any = ...
    encoding: Any = ...
    ptr: Any = ...
    driver: Any = ...
    def __init__(self, ds_input: Any, ds_driver: bool = ..., write: bool = ..., encoding: str = ...) -> None: ...
    def __getitem__(self, index: Any): ...
    def __len__(self): ...
    @property
    def layer_count(self): ...
    @property
    def name(self): ...
